package com.cq.hd.order.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MerchantVerifyGoodsPageVo implements Serializable {

    @ApiModelProperty(value = "活动id")
    private Long activeId;

    @ApiModelProperty(value = "活动名称")
    private String activeTitle;

    @ApiModelProperty(value = "商品id")
    private Long activeGoodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品图片")
    private String goodsImgs;

    @ApiModelProperty(value = "商户商品价格")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "累计核销数量")
    private Integer totalVerifyNum;

    @ApiModelProperty(value = "订单核销时间")
    private LocalDateTime verifyTime;
}
